package com.pig4cloud.pigx.contract.api.v1.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pigx.common.core.util.R;
import com.pig4cloud.pigx.contract.entity.ContractPositionMarginDetail;
import com.pig4cloud.pigx.contract.open.api.vo.OpenApiPositionMarginDetailVOV1;

import java.util.List;

/**
 */
public interface PositionMarginDetailServiceV1 extends IService<ContractPositionMarginDetail> {

	/**
	 * 根据仓位id获取保证金调整历史
	 * @param positionId 仓位id
	 * @return list
	 */
	R<List<OpenApiPositionMarginDetailVOV1>> getList(Long positionId);

}
